package com.ruoyi.project.datum.manage.domain;

import com.ruoyi.framework.web.domain.BaseEntity;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 描述：产品信息实体类
 * 时间：2020/5/19
 * 作者：WangHaiDong
 */
public class Manage extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 产品型号
     */
    private Integer manageId;

    /**
     * 产品名称
     */
    @NotBlank(message = "产品名称不能为空")
    private String manageName;

    /**
     * 产品类别（1 家具 2 饰品）
     */
    @NotNull(message = "产品类别不能为空")
    private Integer manageCategory;

    /**
     * 产品系列ID
     */
    @NotNull(message = "产品系列ID不能为空")
    private Integer seriesId;

    /**
     * 产品风格ID
     */
    @NotNull(message = "产品风格ID不能为空")
    private Integer styleId;

    /**
     * 产品规格ID
     */
    @NotNull(message = "产品规格ID不能为空")
    private Integer speId;

    /**
     * 产品图片信息ID
     */
    @NotNull(message = "产品图片信息ID不能为空")
    private Integer priMesId;

    /**
     * 产品材质（1 面料2 五金件3 木饰面4 油漆5 其他）
     */
    @NotNull(message = "产品材质不能为空")
    private Integer manageTexture;

    /**
     * 产品产地
     */
    @NotBlank(message = "产品产地不能为空")
    private String manageOrigin;

    /**
     * 产品单价
     */
    @NotNull(message = "产品单价不能为空")
    private Double managePrice;

    /**
     * 产品数量
     */
    @NotNull(message = "产品数量不能为空")
    private Integer manageNumber;

    /**
     * 产品金额
     */
    @NotNull(message = "产品金额不能为空")
    private Double manageMoney;

    /**
     * 是否收藏产品(1 收藏 2 不收藏)
     */
    private Integer manageCollect;

    /**
     * 产品描述
     */
    private String manageDesc;

    /**
     * 产品图片
     */
    private String manageImg;

    /**
     * 产品系列名称
     */
    private String seriesName;

    /**
     * 产品风格名称
     */
    private String styleName;

    /**
     * 产品规格名称
     */
    private String speName;

    public Manage() {
    }

    public Manage(Integer manageId,@NotBlank(message = "产品名称不能为空") String manageName, @NotNull(message = "产品类别不能为空") Integer manageCategory, @NotNull(message = "产品系列ID不能为空") Integer seriesId, @NotNull(message = "产品风格ID不能为空") Integer styleId, @NotNull(message = "产品规格ID不能为空") Integer speId, @NotNull(message = "产品图片信息ID不能为空") Integer priMesId, @NotNull(message = "产品材质不能为空") Integer manageTexture, @NotBlank(message = "产品产地不能为空") String manageOrigin, @NotNull(message = "产品单价不能为空") Double managePrice, @NotNull(message = "产品数量不能为空") Integer manageNumber, @NotNull(message = "产品金额不能为空") Double manageMoney,Integer manageCollect, String manageDesc) {
        this.manageId = manageId;
        this.manageName = manageName;
        this.manageCategory = manageCategory;
        this.seriesId = seriesId;
        this.styleId = styleId;
        this.speId = speId;
        this.priMesId = priMesId;
        this.manageTexture = manageTexture;
        this.manageOrigin = manageOrigin;
        this.managePrice = managePrice;
        this.manageNumber = manageNumber;
        this.manageMoney = manageMoney;
        this.manageCollect = manageCollect;
        this.manageDesc = manageDesc;
    }


    public Integer getManageId() {
        return manageId;
    }

    public void setManageId(Integer manageId) {
        this.manageId = manageId;
    }

    public String getManageName() {
        return manageName;
    }

    public void setManageName(String manageName) {
        this.manageName = manageName;
    }

    public Integer getManageCategory() {
        return manageCategory;
    }

    public void setManageCategory(Integer manageCategory) {
        this.manageCategory = manageCategory;
    }

    public Integer getSeriesId() {
        return seriesId;
    }

    public void setSeriesId(Integer seriesId) {
        this.seriesId = seriesId;
    }

    public Integer getStyleId() {
        return styleId;
    }

    public void setStyleId(Integer styleId) {
        this.styleId = styleId;
    }

    public Integer getSpeId() {
        return speId;
    }

    public void setSpeId(Integer speId) {
        this.speId = speId;
    }

    public Integer getPriMesId() {
        return priMesId;
    }

    public void setPriMesId(Integer priMesId) {
        this.priMesId = priMesId;
    }

    public Integer getManageTexture() {
        return manageTexture;
    }

    public void setManageTexture(Integer manageTexture) {
        this.manageTexture = manageTexture;
    }

    public String getManageOrigin() {
        return manageOrigin;
    }

    public void setManageOrigin(String manageOrigin) {
        this.manageOrigin = manageOrigin;
    }

    public Double getManagePrice() {
        return managePrice;
    }

    public void setManagePrice(Double managePrice) {
        this.managePrice = managePrice;
    }

    public Integer getManageNumber() {
        return manageNumber;
    }

    public void setManageNumber(Integer manageNumber) {
        this.manageNumber = manageNumber;
    }

    public Double getManageMoney() {
        return manageMoney;
    }

    public void setManageMoney(Double manageMoney) {
        this.manageMoney = manageMoney;
    }

    public Integer getManageCollect() {
        return manageCollect;
    }

    public void setManageCollect(Integer manageCollect) {
        this.manageCollect = manageCollect;
    }

    public String getManageDesc() {
        return manageDesc;
    }

    public void setManageDesc(String manageDesc) {
        this.manageDesc = manageDesc;
    }

    @Override
    public String toString() {
        return "Manage{" +
                "manageId=" + manageId +
                ", manageName='" + manageName + '\'' +
                ", manageCategory=" + manageCategory +
                ", seriesId=" + seriesId +
                ", styleId=" + styleId +
                ", speId=" + speId +
                ", priMesId=" + priMesId +
                ", manageTexture=" + manageTexture +
                ", manageOrigin='" + manageOrigin + '\'' +
                ", managePrice=" + managePrice +
                ", manageNumber=" + manageNumber +
                ", manageMoney=" + manageMoney +
                ", manageCollect=" + manageCollect +
                ", manageDesc='" + manageDesc + '\'' +
                '}';
    }

    public String getManageImg() {
        return manageImg;
    }

    public void setManageImg(String manageImg) {
        this.manageImg = manageImg;
    }

    public String getSeriesName() {
        return seriesName;
    }

    public void setSeriesName(String seriesName) {
        this.seriesName = seriesName;
    }

    public String getStyleName() {
        return styleName;
    }

    public void setStyleName(String styleName) {
        this.styleName = styleName;
    }

    public String getSpeName() {
        return speName;
    }

    public void setSpeName(String speName) {
        this.speName = speName;
    }
}
